package com.xqit.ydzhkt.answer.service.impl;

import com.xqit.ydzhkt.answer.mapper.ListQuestionMapper;
import com.xqit.ydzhkt.answer.service.ListQuestionService;
import com.xqit.ydzhkt.entity.QuestionEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Janus on 2020/6/9
 */
@Service
public class ListQuestionServiceImpl implements ListQuestionService{
    @Autowired
    private ListQuestionMapper listQuestionMapper;
    @Override
    public List<QuestionEntity> listQuestion() {
        return listQuestionMapper.listQuestion();
    }
}
